import 'package:fish_redux/fish_redux.dart';
import 'package:amap_map_fluttify/amap_map_fluttify.dart';

class StoreDetailModel {
  final String storeName;
  final String storeAddress;
  final String phone;
  final String storeTime;
  final double lat;
  final double lng;

  const StoreDetailModel({
    this.storeAddress,
    this.storeName,
    this.storeTime,
    this.phone,
    this.lat,
    this.lng,
  });
}

class StoreDetailViewState implements Cloneable<StoreDetailViewState> {
  List<StoreDetailModel> models = [];
  AmapController controller;
  @override
  StoreDetailViewState clone() {
    return StoreDetailViewState()
      ..models = models
      ..controller = controller;
  }
}

StoreDetailViewState initState(Map<String, dynamic> args) {
  return StoreDetailViewState();
}
